package org.darkforest.dao.redis;

import org.darkforest.model.AlbumClass;

import java.util.List;

/**
 * Created by valentina on 15/3/19.
 * 相册分类redis操作
 */
public interface AlbumClassRedisDao {

    /**
     * 将整个列表转为redis列表存储，并指定key值
     * @param clsList
     */
    public void addAlbumClassList(String key, List<AlbumClass> clsList);

    /**
     * 根据key获取相册分类列表
     * @param key
     * @return
     */
    public List<AlbumClass> getAlbumClassList(String key);


}
